<?php
// Modul hien thoi la tiep nhan ho so
$_ISA_CURRENT_MODUL_CODE = "ARCHIVES";
if(isset($_REQUEST['modal_dialog_mode'])) {
	$_MODAL_DIALOG_MODE = $_REQUEST['modal_dialog_mode'];
}
if(isset($_REQUEST['fuseaction'])) {
	$fuseaction=$_REQUEST['fuseaction'];
}else{
	$fuseaction="$$$$$$";
}
$v_recordtype_filter = $_SESSION['onegate_current_recordtype'];
if(isset($_REQUEST['hdn_recordtype_filter'])){
	$v_recordtype_filter = $_REQUEST['hdn_recordtype_filter'];
}
$v_record_id = 0;
if(isset($_REQUEST['hdn_record_id'])){
	$v_record_id = intval($_REQUEST['hdn_record_id']);
}
// Bien xac dinh xem NSD hien thoi co quyen them/sua tat ca ho so hay khong
$v_is_granted_update = _is_on_menu(_CONST_ONEGATE_RECORD_UPDATE, $_SESSION['onegate_public_function_list'],$_SESSION['onegate_granted_function_list']);
//Cac link den cac chuc nang tuong ung
$v_show_link = true;
$v_url_view_doc = $_ISA_WEB_SITE_PATH."record/archives/index.php?fuseaction=DISPLAY_ALL_RECORD_DOC&hdn_record_id=".$v_record_id;
$p_petition_link = $_ISA_WEB_SITE_PATH."record/archives/index.php?fuseaction=DISPLAY_SINGLE_RECORD_CONTENT&hdn_record_id=". $v_record_id; //dung cho link "Don"
$p_rate_of_progress_link = $_ISA_WEB_SITE_PATH."record/archives/index.php?fuseaction=DISPLAY_ALL_RECORD_WORK&hdn_record_id=". $v_record_id; //dung cho link "Tien do"
$p_document_link = $_ISA_WEB_SITE_PATH."record/archives/index.php?fuseaction=DISPLAY_ALL_RECORD_DOC&hdn_record_id=".$v_record_id; //dung cho link "Tai lieu"
$p_idea_link = $_ISA_WEB_SITE_PATH."record/archives/index.php?fuseaction=DISPLAY_ALL_IDEA&hdn_record_id=". $v_record_id;//dung cho link "Y kien"
$p_licensing_link = $_ISA_WEB_SITE_PATH."record/archives/index.php?fuseaction=DISPLAY_SINGLE_LICENSE&hdn_record_id=".$v_record_id;//dung cho link "Giap phep"
$v_url_view_update_record_status = $_ISA_WEB_SITE_PATH."record/archives/index.php?fuseaction=DISPLAY_SINGLE_HANDLE_RECORD_FOR_UPDATE_STATUS&hdn_record_id=".$v_record_id;//Ket qua thu ly

?>
<script language="JavaScript">
	_MODAL_DIALOG_MODE = "<?php echo $_MODAL_DIALOG_MODE;?>";
</script>